package com.pinxixi.search.client;

import com.pinxixi.framework.client.PxxServiceList;
import com.pinxixi.framework.domain.category.Category;
import com.pinxixi.framework.domain.template.Template;
import com.pinxixi.framework.model.response.QueryResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(PxxServiceList.PINXIXI_SERVICE_TEMPLATE)
public interface TemplateApiClient {

    @GetMapping("/template/findOne/{id}")
    QueryResponseResult<Template> findOne(@PathVariable("id") Integer id);

}
